/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package multiarray;

import java.util.List;

/**
 *
 * @author Heather
 */
public class RATest {
  public static String getArrayString(int[] input)
  {
    String ret = "[";

    for (int i = 0; i < input.length-1; i++)
    {
      ret += input[i] + ", ";
    }
    ret += input[input.length-1] + "]";

    return ret;
  }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
      int[] blah = {1, 2, 3};
      int[] meh = {-1, -1, -1};

      List<int[]> all = RecursiveAccess.generateAllPermutations(meh, blah);
      for (int[] i : all)
      {
        System.out.println(getArrayString(i));
      }
    }

}
